package main.java.com.cooljie.dao;

import com.cooljie.entity.StudentCourse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentCourseMapper {
    int deleteByPrimaryKey(Integer scId);

    int insert(StudentCourse record);

    int insertSelective(StudentCourse record);

    StudentCourse selectByPrimaryKey(Integer scId);
    List<StudentCourse> selectStudentCourse(@Param(value = "studentId") Integer studentId);
   StudentCourse updateGrade(@Param(value = "scId") Integer scId);

    int updateByPrimaryKeySelective(StudentCourse record);

    int updateByPrimaryKey(StudentCourse record);
}